package com.li.springbootproject.controller.druid;

import com.li.springbootproject.service.druid.DruidService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;


/**
 * @author LiDong
 * @createTime 2021-05-31 19:15:53
 */
@RestController
@RequestMapping("/druidtest")
public class DruidController {

    private static final Logger logger = LoggerFactory.getLogger(DruidController.class);

    @Autowired
    private DruidService druidService;

    @RequestMapping("/jdbctest")
    public void jdbctempleteTestOne() {
        druidService.jdbctempleteTestOne();
    }


}
